package com.zhou.yygh.hosp.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import zhou.hospital.model.hosp.Department;

public interface DepartmentRepository extends MongoRepository<Department,String> {

    //根据医院code和部门code
    Department getDepartmentByHoscodeAndDepcode(String hoscode,String depcode);

}
